projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18b56b9
)
Creating the model no longer fails
author
Benjamin Otte
<otte@gnome.org>
Wed, 1 Jul 2009 07:48:32 +0000
(09:48 +0200)
committer
Benjamin Otte
<otte@gnome.org>
Thu, 15 Oct 2009 20:00:07 +0000
(22:00 +0200)
So remove the code that checked for failure, as it's not needed anymore.
gtk/gtkfilechooserdefault.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserdefault.c
b/gtk/gtkfilechooserdefault.c
index 24f42f7f97ccb81f4d0f12544be9540e5b1f4a65..f31c46f06c9a229b55cac9fab39c146204509845 100644
(file)
--- a/
gtk/gtkfilechooserdefault.c
+++ b/
gtk/gtkfilechooserdefault.c
@@
-6951,13
+6951,6
@@
set_list_model (GtkFileChooserDefault *impl,
G_TYPE_FILE_INFO,
G_TYPE_STRING);
- if (!impl->browse_files_model)
- {
- set_busy_cursor (impl, FALSE);
- profile_end ("end", NULL);
- return FALSE;
- }
-
load_setup_timer (impl); /* This changes the state to LOAD_PRELOAD */
g_signal_connect (impl->browse_files_model, "finished-loading",